#encoding=utf8
'''
Created on 2012-10-31

@author: Administrator
'''
from pub.Config import Config
class SysUser(object):
    '''
    
    '''
    TABLE_NAME="sq_sysuser"
    PRIMARY_KEY="Id"
    USERID="Id"
    USERNAME="UserName"
    USERPASS="UserPass"
    USERTEL="UserTel"
    USEREMAIL="UserEmail"
    LOGINSTATE="LoginState"
    LASTLOGINTIME="LastLoginTime"
    CREATED="Created"
    UPDATED = "Updated"
    def __init__(self):
        '''
        Constructor
        '''
        self.__Id = Config.I_SYS_ZERO
        self.__UserName = Config.S_SYS_NONE
        self.__UserPass = Config.S_SYS_NONE
        self.__UserEmail = Config.S_SYS_NONE
        self.__UserTel = Config.S_SYS_NONE
        self.__LoginState = Config.I_SYS_ZERO
        self.__LastLoginTime = Config.I_SYS_ZERO
        self.__Created = Config.I_SYS_ZERO
        self.__Updated = Config.I_SYS_ZERO

    def get_id(self):
        return self.__Id


    def get_user_name(self):
        return self.__UserName


    def get_user_pass(self):
        return self.__UserPass


    def get_user_email(self):
        return self.__UserEmail


    def get_user_tel(self):
        return self.__UserTel


    def get_login_state(self):
        return self.__LoginState


    def get_last_login_time(self):
        return self.__LastLoginTime


    def get_created(self):
        return self.__Created


    def get_updated(self):
        return self.__Updated


    def set_id(self, value):
        self.__Id = value


    def set_user_name(self, value):
        self.__UserName = value


    def set_user_pass(self, value):
        self.__UserPass = value


    def set_user_email(self, value):
        self.__UserEmail = value


    def set_user_tel(self, value):
        self.__UserTel = value


    def set_login_state(self, value):
        self.__LoginState = value


    def set_last_login_time(self, value):
        self.__LastLoginTime = value


    def set_created(self, value):
        self.__Created = value


    def set_updated(self, value):
        self.__Updated = value

        